package thread;

public class SimpleThreadJoin {
    public static void main(String[] args) throws InterruptedException {
        Thread t = new Thread(() -> {
            System.out.println("I am a child thread!");
        });
        t.start();
//        t.join();
        System.out.println("I am the main thread!");
    }
}
